import App from './App'
import store from 'store/store.js'
// #ifndef VUE3
import Vue from 'vue'
// Vue.prototype.$store = store
Vue.config.productionTip = false
App.mpType = 'app'
// 引入全局uView
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
const app = new Vue({
    ...App,
	// 将store挂载到Vue实例上
	store
})
// 引入请求封装，将app参数传递到配置中
require('config/request.js')(app)
app.$mount()
// #endif




// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  app.use(store)
  return {
    app
  }
}
// #endif